﻿using OSSUtility;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Ozone.Models
{
    public class DevRang
    {
        public DevRang()
        {

        }
        public DevRang(string str)
        {
            try
            {
                string[] ar = str.Split(',');
                if(ar.Length == 2)
                {
                    Min = Utility.str2Double(ar[0]);
                    Max = Utility.str2Double(ar[1]);
                }
            }
            catch(Exception )
            {

            }

        }

        public double Min { set; get; } = 0;
        public double Max { set; get; } = 100;
    }
}
